/*
 * DEBCE.h
 *
 *  Export File
 *
 *  Created on: 11/12/2012
 *      Author: RIchard
 */

#ifndef DEBCE_H_
#define DEBCE_H_

#include "../../Driver/DIO/DIOCE.h"

typedef enum
{
   DEB_nenFirstInput     = 0u,
   DEB_nenButton         = 0u,
   DEB_nenNumberOfInputs = 1u
} DEB_tenInput;

typedef struct
{
   /* pass the input name as 2 inputs may have the same callback function */
   DEB_tenInput      enInput;

   /* pass the current logic level for this input */
   DIO_tenLogicLevel enLogicLevel;

} DEB_tstDebounceEvent;

#endif /* DEBCE_H_ */
